package com.stx.jeepay.core.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.stx.jeepay.core.entity.SysEntitlementEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 系统权限表
 * 
 * @author suntingxing
 * @email 1@gmail.com
 * @date 2023-09-11 13:05:22
 */
@Mapper
public interface SysEntitlementDao extends BaseMapper<SysEntitlementEntity> {

    // 查询当前用户是否存在左侧菜单 (仅普通操作员)
    Integer userHasLeftMenu(@Param("userId") Long userId, @Param("sysType") String sysType);
}
